package com.ljh.onlinetest.repository;

import com.ljh.onlinetest.domain.Subject;
import com.ljh.onlinetest.viewmodel.admin.subject.SubjectPageRequestVM;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ljh
 * @ClassName SubjectMapper.java
 * @createTime 2022年01月17日
 */
@Mapper
public interface SubjectMapper extends BaseMapper<Subject> {
    List<Subject> allSubject();

    List<Subject> page(SubjectPageRequestVM subjectPageRequestVM);

    List<Subject> getSubjectByLevel(Integer level);
}
